//
//  SCStoreGoodsCell.m
//  shangcheng
//
//  Created by 张艳江 on 2019/6/21.
//  Copyright © 2019 张艳江. All rights reserved.
//

#import "SCStoreGoodsCell.h"

@implementation SCStoreGoodsCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.layer.cornerRadius = 2.0f;
    self.clipsToBounds = YES;
}
- (void)setModel:(SCModel *)model{
    
    _model = model;
    [self.goodsImage sd_setImageWithURL:[NSURL URLWithString:model.wap_pic] placeholderImage:[UIImage imageNamed:@"ceshi_tu"]];
    self.goodsTitleLab.text = model.goods_name;
    self.goodsPriceLab.text = model.goods_price;
    self.goodsMkPrice.text = model.goods_mktprice;
}

@end
